import React from 'react';
import { Table } from 'antd';

const BaseTable = ({ dataSource, ...rest }: any) => {
  return (
    <Table
      dataSource={dataSource}
      pagination={{ showQuickJumper: true, pageSize: 10, showSizeChanger: true }}
      {...rest}
    />
  );
};

export default BaseTable;
